home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0294feb.archive
/
000120_donews!crash!fr…leton.ca!ao443_Tue, 1 Mar 94 01:43:55 PST.msg
< prev
Wrap
Internet Message Format
|
1994-05-26
|
2KB
Received: by bkhouse.cts.com (V1.17-beta/Amiga)
id <1y1n@bkhouse.cts.com>; Tue, 1 Mar 94 01:43:55 PST
Received: from crash by donews.cts.com with uucp
(Smail3.1.28.1 #18) id m0pbI0e-0001vfC; Mon, 28 Feb 94 16:08 PST
Received: from freenet-news.carleton.ca by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0pbI0F-000023C; Mon, 28 Feb 94 16:07 PST
Received: from by freenet-news.carleton.ca (4.1/SMI-4.0)
id AB08148; Mon, 28 Feb 94 19:08:27 EST
Received: from localhost (ao443@localhost) by freenet.carleton.ca (8.6.4/8.6.4) id NAA10948; Mon, 28 Feb 1994 13:38:01 -0500
Date: Mon, 28 Feb 1994 13:38:01 -0500
Message-Id: <199402281838.NAA10948@freenet.carleton.ca>
Reply-To: ao443@freenet.carleton.ca
From: ao443@freenet.carleton.ca (Jason Maskell)
To: AmigaE@bkhouse.cts.com
Subject: Re: 1 or 2 beginner questions
(wow, 1 or 2?)
>1. What is the best way to clear a window. I've used ClearScreen, but it
Well, in Intuition borders etc are part of the window, and so can
be cleared, so this is a little trickier than in another high level such
as GFA or Amos.
There's two ways you can do this, one requires some playing
around, and one is just real simple. The simple one first.
Call SetRast(<your rastport>,<bg color>), and then just
RefreshWindowFrame(<window>), I believe. This is NOT the nice way to do
it, but it will work.
The other way is pretty easy, but has a higher function count. Use
LockPubScreen() to find the size of the title bar.(In screen.barheight)
Get the window size data from teh window structure, and calculate the
actual window area from that and the title bar size. Then use EraseRect()
to nuke the relevant data. This is very vague, and I can post An example
if needed.
Gotta log off and save.. Answer the rest in another message.
--
'You see son, if this were Star Trek, we'd be negotiating with this Kobold.'
- Unknown Angband Player